package com.ftg.learn.day09.interfaceimpl;

import com.ftg.learn.day09.interfaceextends.A;
import com.ftg.learn.day09.interfaceextends.LearnInterface;
import com.ftg.learn.day09.interfaceextends.LearnInterface01;

/**
 * default 可以让子接口继承
 * 也可以让实现类使用
 * @author 布衣
 */
public class MyTest implements LearnInterface, LearnInterface01, A {

    @Override
    public int add(int x,int y){
        return add(x,y,3,5);
//        return x+y+3+5;
    }

    public static void main(String[] args) {
        LearnInterface li = new MyTest();
        li.add(3,4);
    }

    @Override
    public void abc() {

    }
}
